// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
//整个项目的入口文件
import Vue from 'vue'
import App from './App'
import router from './router'
//swiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
//重置页面样式
import './assets/styles/reset.css'//通用样式
import './assets/styles/border.css'//解决移动端一个像素边框问题
import './assets/styles/iconfont.css'//图标库
//
import 'swiper/dist/css/swiper.css'//引入swiper样式
import fastClick from 'fastclick'
//使用fastClick
fastClick.attach(document.body);
//使用swiper
Vue.use(VueAwesomeSwiper);

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },//注册组件
  template: '<App/>'//组件的模板
})
